package org.example.ruoxing_admin_springboot3.dao;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import java.util.ArrayList;
import java.util.List;
@Setter
@Getter
@Data
@TableName("`system_resources`")
public class SystemResourcesDao {
    private String resourcesId;
    private String resourcesType;
    private Integer resourcesLevel;
    private String parentNodeId;
    private String path;
    private String name;
    private String component;
    private String redirect;
    private String icon;
    private String title;
    private String isLink = "";
    private Boolean isHide;
    private Boolean isAffix;
    private Boolean isKeepAlive;
    private Boolean isRoot;
    private Long createTime;
    private List<SystemResourcesDao> children = new ArrayList<SystemResourcesDao>();
    @Version
    private Integer version;
}
